//This file is AUTOMATIC generated from LUA source code
//Do NOT manually modify!


typedef void (*GetApiTable_Type)(LPCSTR lpName, ptrdiff_t *lpAddress);

void InitLuaApi()
{
LPVOID luaL_pushmodule = NULL, luaL_openlib = NULL;     //not used, as a stub

GetApiTable_Type GetApiTable = (GetApiTable_Type)GetProcAddress(GetModuleHandle("LuaApi.dll"), "GetApiTable");
if(GetApiTable == NULL)
    return;
GetApiTable("lua_newstate", (ptrdiff_t *)&lua_newstate);
GetApiTable("lua_close", (ptrdiff_t *)&lua_close);
GetApiTable("lua_newthread", (ptrdiff_t *)&lua_newthread);
GetApiTable("lua_atpanic", (ptrdiff_t *)&lua_atpanic);
GetApiTable("lua_version", (ptrdiff_t *)&lua_version);
GetApiTable("lua_absindex", (ptrdiff_t *)&lua_absindex);
GetApiTable("lua_gettop", (ptrdiff_t *)&lua_gettop);
GetApiTable("lua_settop", (ptrdiff_t *)&lua_settop);
GetApiTable("lua_pushvalue", (ptrdiff_t *)&lua_pushvalue);
GetApiTable("lua_rotate", (ptrdiff_t *)&lua_rotate);
GetApiTable("lua_copy", (ptrdiff_t *)&lua_copy);
GetApiTable("lua_checkstack", (ptrdiff_t *)&lua_checkstack);
GetApiTable("lua_xmove", (ptrdiff_t *)&lua_xmove);
GetApiTable("lua_isnumber", (ptrdiff_t *)&lua_isnumber);
GetApiTable("lua_isstring", (ptrdiff_t *)&lua_isstring);
GetApiTable("lua_iscfunction", (ptrdiff_t *)&lua_iscfunction);
GetApiTable("lua_isinteger", (ptrdiff_t *)&lua_isinteger);
GetApiTable("lua_isuserdata", (ptrdiff_t *)&lua_isuserdata);
GetApiTable("lua_type", (ptrdiff_t *)&lua_type);
GetApiTable("lua_typename", (ptrdiff_t *)&lua_typename);
GetApiTable("lua_tonumberx", (ptrdiff_t *)&lua_tonumberx);
GetApiTable("lua_tointegerx", (ptrdiff_t *)&lua_tointegerx);
GetApiTable("lua_toboolean", (ptrdiff_t *)&lua_toboolean);
GetApiTable("lua_tolstring", (ptrdiff_t *)&lua_tolstring);
GetApiTable("lua_rawlen", (ptrdiff_t *)&lua_rawlen);
GetApiTable("lua_tocfunction", (ptrdiff_t *)&lua_tocfunction);
GetApiTable("lua_touserdata", (ptrdiff_t *)&lua_touserdata);
GetApiTable("lua_tothread", (ptrdiff_t *)&lua_tothread);
GetApiTable("lua_topointer", (ptrdiff_t *)&lua_topointer);
GetApiTable("lua_arith", (ptrdiff_t *)&lua_arith);
GetApiTable("lua_rawequal", (ptrdiff_t *)&lua_rawequal);
GetApiTable("lua_compare", (ptrdiff_t *)&lua_compare);
GetApiTable("lua_pushnil", (ptrdiff_t *)&lua_pushnil);
GetApiTable("lua_pushnumber", (ptrdiff_t *)&lua_pushnumber);
GetApiTable("lua_pushinteger", (ptrdiff_t *)&lua_pushinteger);
GetApiTable("lua_pushlstring", (ptrdiff_t *)&lua_pushlstring);
GetApiTable("lua_pushstring", (ptrdiff_t *)&lua_pushstring);
GetApiTable("lua_pushvfstring", (ptrdiff_t *)&lua_pushvfstring);
GetApiTable("lua_pushfstring", (ptrdiff_t *)&lua_pushfstring);
GetApiTable("lua_pushcclosure", (ptrdiff_t *)&lua_pushcclosure);
GetApiTable("lua_pushboolean", (ptrdiff_t *)&lua_pushboolean);
GetApiTable("lua_pushlightuserdata", (ptrdiff_t *)&lua_pushlightuserdata);
GetApiTable("lua_pushthread", (ptrdiff_t *)&lua_pushthread);
GetApiTable("lua_getglobal", (ptrdiff_t *)&lua_getglobal);
GetApiTable("lua_gettable", (ptrdiff_t *)&lua_gettable);
GetApiTable("lua_getfield", (ptrdiff_t *)&lua_getfield);
GetApiTable("lua_geti", (ptrdiff_t *)&lua_geti);
GetApiTable("lua_rawget", (ptrdiff_t *)&lua_rawget);
GetApiTable("lua_rawgeti", (ptrdiff_t *)&lua_rawgeti);
GetApiTable("lua_rawgetp", (ptrdiff_t *)&lua_rawgetp);
GetApiTable("lua_createtable", (ptrdiff_t *)&lua_createtable);
GetApiTable("lua_newuserdata", (ptrdiff_t *)&lua_newuserdata);
GetApiTable("lua_getmetatable", (ptrdiff_t *)&lua_getmetatable);
GetApiTable("lua_getuservalue", (ptrdiff_t *)&lua_getuservalue);
GetApiTable("lua_setglobal", (ptrdiff_t *)&lua_setglobal);
GetApiTable("lua_settable", (ptrdiff_t *)&lua_settable);
GetApiTable("lua_setfield", (ptrdiff_t *)&lua_setfield);
GetApiTable("lua_seti", (ptrdiff_t *)&lua_seti);
GetApiTable("lua_rawset", (ptrdiff_t *)&lua_rawset);
GetApiTable("lua_rawseti", (ptrdiff_t *)&lua_rawseti);
GetApiTable("lua_rawsetp", (ptrdiff_t *)&lua_rawsetp);
GetApiTable("lua_setmetatable", (ptrdiff_t *)&lua_setmetatable);
GetApiTable("lua_setuservalue", (ptrdiff_t *)&lua_setuservalue);
GetApiTable("lua_callk", (ptrdiff_t *)&lua_callk);
GetApiTable("lua_pcallk", (ptrdiff_t *)&lua_pcallk);
GetApiTable("lua_load", (ptrdiff_t *)&lua_load);
GetApiTable("lua_dump", (ptrdiff_t *)&lua_dump);
GetApiTable("lua_yieldk", (ptrdiff_t *)&lua_yieldk);
GetApiTable("lua_resume", (ptrdiff_t *)&lua_resume);
GetApiTable("lua_status", (ptrdiff_t *)&lua_status);
GetApiTable("lua_isyieldable", (ptrdiff_t *)&lua_isyieldable);
GetApiTable("lua_gc", (ptrdiff_t *)&lua_gc);
GetApiTable("lua_error", (ptrdiff_t *)&lua_error);
GetApiTable("lua_next", (ptrdiff_t *)&lua_next);
GetApiTable("lua_concat", (ptrdiff_t *)&lua_concat);
GetApiTable("lua_len", (ptrdiff_t *)&lua_len);
GetApiTable("lua_stringtonumber", (ptrdiff_t *)&lua_stringtonumber);
GetApiTable("lua_getallocf", (ptrdiff_t *)&lua_getallocf);
GetApiTable("lua_setallocf", (ptrdiff_t *)&lua_setallocf);
GetApiTable("lua_getstack", (ptrdiff_t *)&lua_getstack);
GetApiTable("lua_getinfo", (ptrdiff_t *)&lua_getinfo);
GetApiTable("lua_getlocal", (ptrdiff_t *)&lua_getlocal);
GetApiTable("lua_setlocal", (ptrdiff_t *)&lua_setlocal);
GetApiTable("lua_getupvalue", (ptrdiff_t *)&lua_getupvalue);
GetApiTable("lua_setupvalue", (ptrdiff_t *)&lua_setupvalue);
GetApiTable("lua_upvalueid", (ptrdiff_t *)&lua_upvalueid);
GetApiTable("lua_upvaluejoin", (ptrdiff_t *)&lua_upvaluejoin);
GetApiTable("lua_sethook", (ptrdiff_t *)&lua_sethook);
GetApiTable("lua_gethook", (ptrdiff_t *)&lua_gethook);
GetApiTable("lua_gethookmask", (ptrdiff_t *)&lua_gethookmask);
GetApiTable("lua_gethookcount", (ptrdiff_t *)&lua_gethookcount);
GetApiTable("luaL_checkversion_", (ptrdiff_t *)&luaL_checkversion_);
GetApiTable("luaL_getmetafield", (ptrdiff_t *)&luaL_getmetafield);
GetApiTable("luaL_callmeta", (ptrdiff_t *)&luaL_callmeta);
GetApiTable("luaL_tolstring", (ptrdiff_t *)&luaL_tolstring);
GetApiTable("luaL_argerror", (ptrdiff_t *)&luaL_argerror);
GetApiTable("luaL_checklstring", (ptrdiff_t *)&luaL_checklstring);
GetApiTable("luaL_optlstring", (ptrdiff_t *)&luaL_optlstring);
GetApiTable("luaL_checknumber", (ptrdiff_t *)&luaL_checknumber);
GetApiTable("luaL_optnumber", (ptrdiff_t *)&luaL_optnumber);
GetApiTable("luaL_checkinteger", (ptrdiff_t *)&luaL_checkinteger);
GetApiTable("luaL_optinteger", (ptrdiff_t *)&luaL_optinteger);
GetApiTable("luaL_checkstack", (ptrdiff_t *)&luaL_checkstack);
GetApiTable("luaL_checktype", (ptrdiff_t *)&luaL_checktype);
GetApiTable("luaL_checkany", (ptrdiff_t *)&luaL_checkany);
GetApiTable("luaL_newmetatable", (ptrdiff_t *)&luaL_newmetatable);
GetApiTable("luaL_setmetatable", (ptrdiff_t *)&luaL_setmetatable);
GetApiTable("luaL_testudata", (ptrdiff_t *)&luaL_testudata);
GetApiTable("luaL_checkudata", (ptrdiff_t *)&luaL_checkudata);
GetApiTable("luaL_where", (ptrdiff_t *)&luaL_where);
GetApiTable("luaL_error", (ptrdiff_t *)&luaL_error);
GetApiTable("luaL_checkoption", (ptrdiff_t *)&luaL_checkoption);
GetApiTable("luaL_fileresult", (ptrdiff_t *)&luaL_fileresult);
GetApiTable("luaL_execresult", (ptrdiff_t *)&luaL_execresult);
GetApiTable("luaL_ref", (ptrdiff_t *)&luaL_ref);
GetApiTable("luaL_unref", (ptrdiff_t *)&luaL_unref);
GetApiTable("luaL_loadfilex", (ptrdiff_t *)&luaL_loadfilex);
GetApiTable("luaL_loadbufferx", (ptrdiff_t *)&luaL_loadbufferx);
GetApiTable("luaL_loadstring", (ptrdiff_t *)&luaL_loadstring);
GetApiTable("luaL_newstate", (ptrdiff_t *)&luaL_newstate);
GetApiTable("luaL_len", (ptrdiff_t *)&luaL_len);
GetApiTable("luaL_gsub", (ptrdiff_t *)&luaL_gsub);
GetApiTable("luaL_setfuncs", (ptrdiff_t *)&luaL_setfuncs);
GetApiTable("luaL_getsubtable", (ptrdiff_t *)&luaL_getsubtable);
GetApiTable("luaL_traceback", (ptrdiff_t *)&luaL_traceback);
GetApiTable("luaL_requiref", (ptrdiff_t *)&luaL_requiref);
GetApiTable("luaL_buffinit", (ptrdiff_t *)&luaL_buffinit);
GetApiTable("luaL_prepbuffsize", (ptrdiff_t *)&luaL_prepbuffsize);
GetApiTable("luaL_addlstring", (ptrdiff_t *)&luaL_addlstring);
GetApiTable("luaL_addstring", (ptrdiff_t *)&luaL_addstring);
GetApiTable("luaL_addvalue", (ptrdiff_t *)&luaL_addvalue);
GetApiTable("luaL_pushresult", (ptrdiff_t *)&luaL_pushresult);
GetApiTable("luaL_pushresultsize", (ptrdiff_t *)&luaL_pushresultsize);
GetApiTable("luaL_buffinitsize", (ptrdiff_t *)&luaL_buffinitsize);
GetApiTable("luaL_pushmodule", (ptrdiff_t *)&luaL_pushmodule);
GetApiTable("luaL_openlib", (ptrdiff_t *)&luaL_openlib);
GetApiTable("luaopen_base", (ptrdiff_t *)&luaopen_base);
GetApiTable("luaopen_coroutine", (ptrdiff_t *)&luaopen_coroutine);
GetApiTable("luaopen_table", (ptrdiff_t *)&luaopen_table);
GetApiTable("luaopen_io", (ptrdiff_t *)&luaopen_io);
GetApiTable("luaopen_os", (ptrdiff_t *)&luaopen_os);
GetApiTable("luaopen_string", (ptrdiff_t *)&luaopen_string);
GetApiTable("luaopen_utf8", (ptrdiff_t *)&luaopen_utf8);
GetApiTable("luaopen_bit32", (ptrdiff_t *)&luaopen_bit32);
GetApiTable("luaopen_math", (ptrdiff_t *)&luaopen_math);
GetApiTable("luaopen_debug", (ptrdiff_t *)&luaopen_debug);
GetApiTable("luaopen_package", (ptrdiff_t *)&luaopen_package);
GetApiTable("luaL_openlibs", (ptrdiff_t *)&luaL_openlibs);
}
